#include "event.h"

namespace simple {
    const std::map<std::string, std::vector<std::shared_ptr<HandlerBase>>> &Event::getHandlers() {
        return HandlerBase::getHandlers();
    }

    void Event::resetHandlers() {
        HandlerBase::resetHandlers();
    }

    bool Event::registerHandler(const std::shared_ptr<HandlerBase> &handler) {
        return HandlerBase::registerHandler(handler);
    }

    bool Event::unRegisterHandler(const std::shared_ptr<HandlerBase> &handler) {
        return HandlerBase::unRegisterHandler(handler);
    }

    bool Event::publishEvent(const std::string &eventName, Session *const session) {
        return HandlerBase::publishEvent(eventName, session);
    }
}
